package com.jason.cloud.engine.share.driver.inter.service;

import com.jason.cloud.engine.share.driver.inter.bean.InterCaseBean;
import com.jason.cloud.engine.share.driver.inter.dao.InterCaseDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

@Service
public class InterCaseServiceImpl implements InterCaseService {

    private static final Logger logger = LoggerFactory.getLogger(InterCaseServiceImpl.class);

    @Resource
    private InterCaseDao interCaseDao;

    /**
     * 根据
     * @param inter_case_id
     * @return
     */
    public InterCaseBean queryInterCaseById(String inter_case_id) {
        InterCaseBean interCaseBean = null;
        try {
            interCaseBean = this.interCaseDao.queryInterCaseById(inter_case_id);
        } catch (Exception e) {
            logger.debug(e.getMessage());
        }
        return interCaseBean;
    }
}
